package com.las.bot;

import com.utils.IPUtils;

public class Demo4 {

    public static void main(String[] args) {
        System.out.println(IPUtils.checkStringContainsUrl("hhh https://www.learncpp.com啦啦啦啦"));
        System.out.println(IPUtils.checkStringContainsUrl("hhhwww.learncpp.com啦啦啦"));

        System.out.println(IPUtils.checkStringContainsUrl("111www.learncpp.com/ 呼呼"));
        System.out.println(IPUtils.checkStringContainsUrl("我是 111www.learncpp.com呼呼"));
        System.out.println(IPUtils.checkStringContainsUrl("我是 http://111www.learncpp.co 呼呼"));
        System.out.println(IPUtils.checkStringContainsUrl("我是baidu.com:1"));

        System.out.println(IPUtils.checkStringContainsUrl("hhh 3earncpp.com啦啦啦啦"));
        System.out.println(IPUtils.checkStringContainsUrl("hhh //www.learncpp.com啦啦啦啦"));

        System.out.println(IPUtils.checkStringContainsUrl("啦啦啦.hh.1"));
        System.out.println(IPUtils.checkStringContainsUrl("呼呼.你好.111"));
        System.out.println(IPUtils.checkStringContainsUrl("hh.你好..aaa"));

        //HEUR/QVM06.3.6DF7.Malware.Gen这玩意你们谁见过吗
        System.out.println(IPUtils.checkStringContainsUrl("HEUR/QVM06.3.6DF7.Malware.Gen这玩意你们谁见过吗"));
        System.out.println(IPUtils.checkStringContainsUrl("com.ali.abc jar包在哪里下载"));
    }
}
